/*
 *
 * Copyright (C) 2022 Zealcomm Inc. (https://www.zealcomm.com)
 *
*/

#ifndef IRTC_BASE_OBJC_IRTCAUDIORENDERER_H_
#define IRTC_BASE_OBJC_IRTCAUDIORENDERER_H_

#import <Foundation/Foundation.h>
#import <IRTC/IRTCMacros.h>
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#endif

NS_ASSUME_NONNULL_BEGIN

IRTC_OBJC_EXPORT
@protocol IRTCAudioRenderer <NSObject>
- (void)renderAudioFrame:(void *) audio_data bits_per_sample:(int) bits_per_sample
                    sample_rate:(int) sample_rate number_of_channels:(size_t) number_of_channels
                    number_of_frames:(size_t) number_of_frames absolute_capture_timestamp_ms:(int64_t) timestamp_ms;
@end


NS_ASSUME_NONNULL_END
#endif // IRTC_BASE_OBJC_IRTCAUDIORENDERER_H_